[MIRROR] Adds action & adjacent checks for mecha drill #2044
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Mirrored on Nova: NovaSector/NovaSector#1035
Original PR: tgstation/tgstation#81530
About The Pull Request
do_after_mecha()
so if we move at any point (like in strife mode which slips by this proc) drilling stops. This callsaction_checks()
which uses power & does other integrity checks for every drill iteration like it shouldChangelog
🆑 SyncIt21
fix: mecha drill won't use power & do other checks if the target cannot be drilled.
fix: mecha drill will stop drilling if the mech moves even without changing direction. Also will use power & check other conditions every drill cycle.
/:cl: